package co.fitstart.entity.user.inbody;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class InbodyData {
    
    /** 姓名 冗余字段 */
    private String name;
    
    /** 来源 */
    private String source;
    
    private Integer age;
    
    private String sex;
    
    /** 用户手机号 冗余字段，用于excel表格数据匹配 */
    private String mobile;
    
    /** 体重 保留小数点后两位 */
    private Float weight;
    
    private Float weightMax;
    
    private Float weightMin;
    
    /** skeletalMuscle 骨骼肌 保留小数点后一位 */
    private Float sm;
    
    private Float smMax;
    
    private Float smMin;
    
    /** bodyFat 体脂肪 保留小数点后一位 */
    private Float bf;
    
    private Float bfMax;
    
    private Float bfMin;
    
    /** bodyFatRate 体脂率 保留小数点后一位*/
    private Float bfr;
    
    private Float bfrMax;
    
    private Float bfrMin;
    
    /** BMI值 保留小数点后一位*/
    private Float bmi;
    
    private Float bmiMax;
    
    private Float bmiMin;
    
    /** waist-hip ratio 腰臀比 保留小数点后一位*/
    private Float whr;
    
    private Float whrMax;
    
    private Float whrMin;
    
    /** basal metabolism 基础代谢 保留小数点后一位*/
    private Float bm;
    
    private Float bmMax;
    
    private Float bmMin;
    
    /** inbody 测试时间 */
    private String recordTime;
    
    @JSONField(format = "yyyy-MM-dd")
    private Date createTime;
    
    private int rownum;
    
    private String errorReason;
    
    /**
     * The default constructor
     */
    public InbodyData() {
        
    }
    
    /**
     * 
     * @param message
     * @return
     */
    public InbodyData error(String message) {
        this.errorReason = message;
        return this;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @return the source
     */
    public String getSource() {
        return source;
    }

    /**
     * @return the age
     */
    public Integer getAge() {
        return age;
    }

    /**
     * @return the sex
     */
    public String getSex() {
        return sex;
    }

    /**
     * @return the mobile
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * @return the weight
     */
    public Float getWeight() {
        return weight;
    }

    /**
     * @return the weightMax
     */
    public Float getWeightMax() {
        return weightMax;
    }

    /**
     * @return the weightMin
     */
    public Float getWeightMin() {
        return weightMin;
    }

    /**
     * @return the sm
     */
    public Float getSm() {
        return sm;
    }

    /**
     * @return the smMax
     */
    public Float getSmMax() {
        return smMax;
    }

    /**
     * @return the smMin
     */
    public Float getSmMin() {
        return smMin;
    }

    /**
     * @return the bf
     */
    public Float getBf() {
        return bf;
    }

    /**
     * @return the bfMax
     */
    public Float getBfMax() {
        return bfMax;
    }

    /**
     * @return the bfMin
     */
    public Float getBfMin() {
        return bfMin;
    }

    /**
     * @return the bfr
     */
    public Float getBfr() {
        return bfr;
    }

    /**
     * @return the bfrMax
     */
    public Float getBfrMax() {
        return bfrMax;
    }

    /**
     * @return the bfrMin
     */
    public Float getBfrMin() {
        return bfrMin;
    }

    /**
     * @return the bmi
     */
    public Float getBmi() {
        return bmi;
    }

    /**
     * @return the bmiMax
     */
    public Float getBmiMax() {
        return bmiMax;
    }

    /**
     * @return the bmiMin
     */
    public Float getBmiMin() {
        return bmiMin;
    }

    /**
     * @return the whr
     */
    public Float getWhr() {
        return whr;
    }

    /**
     * @return the whrMax
     */
    public Float getWhrMax() {
        return whrMax;
    }

    /**
     * @return the whrMin
     */
    public Float getWhrMin() {
        return whrMin;
    }

    /**
     * @return the bm
     */
    public Float getBm() {
        return bm;
    }

    /**
     * @return the bmMax
     */
    public Float getBmMax() {
        return bmMax;
    }

    /**
     * @return the bmMin
     */
    public Float getBmMin() {
        return bmMin;
    }

    /**
     * @return the recordTime
     */
    public String getRecordTime() {
        return recordTime;
    }

    /**
     * @return the createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @return the rownum
     */
    public int getRownum() {
        return rownum;
    }

    /**
     * @return the errorReason
     */
    public String getErrorReason() {
        return errorReason;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @param source the source to set
     */
    public void setSource(String source) {
        this.source = source;
    }

    /**
     * @param age the age to set
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * @param sex the sex to set
     */
    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * @param mobile the mobile to set
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * @param weight the weight to set
     */
    public void setWeight(Float weight) {
        this.weight = weight;
    }

    /**
     * @param weightMax the weightMax to set
     */
    public void setWeightMax(Float weightMax) {
        this.weightMax = weightMax;
    }

    /**
     * @param weightMin the weightMin to set
     */
    public void setWeightMin(Float weightMin) {
        this.weightMin = weightMin;
    }

    /**
     * @param sm the sm to set
     */
    public void setSm(Float sm) {
        this.sm = sm;
    }

    /**
     * @param smMax the smMax to set
     */
    public void setSmMax(Float smMax) {
        this.smMax = smMax;
    }

    /**
     * @param smMin the smMin to set
     */
    public void setSmMin(Float smMin) {
        this.smMin = smMin;
    }

    /**
     * @param bf the bf to set
     */
    public void setBf(Float bf) {
        this.bf = bf;
    }

    /**
     * @param bfMax the bfMax to set
     */
    public void setBfMax(Float bfMax) {
        this.bfMax = bfMax;
    }

    /**
     * @param bfMin the bfMin to set
     */
    public void setBfMin(Float bfMin) {
        this.bfMin = bfMin;
    }

    /**
     * @param bfr the bfr to set
     */
    public void setBfr(Float bfr) {
        this.bfr = bfr;
    }

    /**
     * @param bfrMax the bfrMax to set
     */
    public void setBfrMax(Float bfrMax) {
        this.bfrMax = bfrMax;
    }

    /**
     * @param bfrMin the bfrMin to set
     */
    public void setBfrMin(Float bfrMin) {
        this.bfrMin = bfrMin;
    }

    /**
     * @param bmi the bmi to set
     */
    public void setBmi(Float bmi) {
        this.bmi = bmi;
    }

    /**
     * @param bmiMax the bmiMax to set
     */
    public void setBmiMax(Float bmiMax) {
        this.bmiMax = bmiMax;
    }

    /**
     * @param bmiMin the bmiMin to set
     */
    public void setBmiMin(Float bmiMin) {
        this.bmiMin = bmiMin;
    }

    /**
     * @param whr the whr to set
     */
    public void setWhr(Float whr) {
        this.whr = whr;
    }

    /**
     * @param whrMax the whrMax to set
     */
    public void setWhrMax(Float whrMax) {
        this.whrMax = whrMax;
    }

    /**
     * @param whrMin the whrMin to set
     */
    public void setWhrMin(Float whrMin) {
        this.whrMin = whrMin;
    }

    /**
     * @param bm the bm to set
     */
    public void setBm(Float bm) {
        this.bm = bm;
    }

    /**
     * @param bmMax the bmMax to set
     */
    public void setBmMax(Float bmMax) {
        this.bmMax = bmMax;
    }

    /**
     * @param bmMin the bmMin to set
     */
    public void setBmMin(Float bmMin) {
        this.bmMin = bmMin;
    }

    /**
     * @param recordTime the recordTime to set
     */
    public void setRecordTime(String recordTime) {
        this.recordTime = recordTime;
    }

    /**
     * @param createTime the createTime to set
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @param rownum the rownum to set
     */
    public void setRownum(int rownum) {
        this.rownum = rownum;
    }

    /**
     * @param errorReason the errorReason to set
     */
    public void setErrorReason(String errorReason) {
        this.errorReason = errorReason;
    }
}